<?php
if ($_SERVER['REQUEST_METHOD'] === 'DELETE') {
    echo '<pre>';
    print_r(file_get_contents('php://input'));
    print_r(getallheaders());
} else {
    die('只支持DELETE请求');
}